#include "endPlayRecordMessage.h"

EndPlayRecordMessage::EndPlayRecordMessage(MtpProtocol* packet) : MtpMessage(packet)
{

}

void EndPlayRecordMessage::decodeBody()
{
	MtpMessage::decodeBody();
	param.fromJson(jsonContent);
}

void EndPlayRecordMessage::encodeBody()
{
	jsonContent = param.jsonStr();
	MtpMessage::encodeBody();
}

const int64_t& EndPlayRecordMessage::getId() const
{
	return param.getId();
}

const int64_t& EndPlayRecordMessage::getDmId() const
{
	return param.getDmId();
}
